var State = {
  'gameOver' : 0,
  'nextPiece' : 1,
  'dropping' : 2,
  'checkState' : 3
};

function setState(state) {
  objectGlobals.state
}

var objectGlobals = {
  'gameBoard' : new Gameboard(),
  'extend' : function (baseClass, subClass) {
    function Inheritance() {}
    Inheritance.prototype = baseClass.prototype; 
    subClass.prototype = new Inheritance();
    subClass.prototype.constructor = subClass;
    subClass.baseConstructor = baseClass;
    subClass.superClass = baseClass.prototype;
  },
  'blockSize' : 14,
  'state' : State.dropping,
  'setState' : function(state) {
    this.state = state;
    return this.state;
  },
  'blocks' : {},
}



